{if $params.action=="view"}

	<link rel="stylesheet" type="text/css" media="screen" href="/js/colorbox/colorbox.css" />
	<script type="text/javascript" src="/js/colorbox/jquery.colorbox-min.js"></script>

	<script type="text/javascript">
		$(document).ready(function() {
			$("#Items_View a[rel=Images]").colorbox({ opacity:0.5,speed:100 });
		});
	</script>
	
	<div id="Items_View">

		{if $ItemInfo.images}
			<div style="float:right;padding-bottom:6px;padding-left:6px;width:250px">
				{foreach from=$ItemInfo.images item=data}
					<div>
						<a href="/images/resources/big/{$data.image}" target="_blank" rel="Images"><img src="/images/resources/big/{$data.image}" border="0" width="100%" alt="" title="{$data.imagename}" hspace="2" vspace="2" style="float:left" /></a>
					</div>
				{/foreach}
			</div>
		{/if}
	
		<div>{$ItemInfo.resourcetxt}</div>
		
		{if $ItemInfo.properties}
		
			<table> 
				<thead> 
					<tr> 
						<td colspan="2">{$translate->_("Характеристики")} {$ItemInfo.resourcename}</td>
					</tr> 
				</thead> 
				{foreach from=$ItemInfo.properties item=data}
					<tr>
						<th>{$data.propertyname}</th>
						<td>{$data.propertyvalue}</td>
					</tr>
				{/foreach}
			</table>
			
		{/if}

	
	</div>

{/if}